package com.ruoyi.factory.bom.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * oracle价格名称对象 t_bom_price
 *
 * @author ruoyi
 * @date 2022-11-25
 */
public class BomPrice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @Excel(name = "")
    private String code;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationtime;

    /**  */
    @Excel(name = "")
    private String creator;

    /**  */
    @Excel(name = "")
    private String dataoriginflag;

    /**  */
    @Excel(name = "")
    private String discountflag;

    /**  */
    @Excel(name = "")
    private String dr;

    /**  */
    @Excel(name = "")
    private String electronicsale;

    /**  */
    @Excel(name = "")
    private String enablestate;

    /**  */
    @Excel(name = "")
    private String fee;

    /**  */
    @Excel(name = "")
    private String intolerance;

    /**  */
    @Excel(name = "")
    private String iselectrans;

    /**  */
    @Excel(name = "")
    private String isfeature;

    /**  */
    @Excel(name = "")
    private String ishproitems;

    /**  */
    @Excel(name = "")
    private String materialmnecode;

    /**  */
    @Excel(name = "")
    private String materialspec;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedtime;

    /**  */
    @Excel(name = "")
    private String modifier;

    /**  */
    @Excel(name = "")
    private String name;

    /**  */
    @Excel(name = "")
    private String outcloselowerlimit;

    /**  */
    @Excel(name = "")
    private String outtolerance;

    /**  */
    @Excel(name = "")
    private String pkGroup;

    /**  */
    @Excel(name = "")
    private String pkMarbasclass;

    /**  */
    @Excel(name = "")
    private String pkMaterial;

    /**  */
    @Excel(name = "")
    private String pkMattaxes;

    /**  */
    @Excel(name = "")
    private String pkMeasdoc;

    /**  */
    @Excel(name = "")
    private String pkOrg;

    /**  */
    @Excel(name = "")
    private String pkSource;

    /**  */
    @Excel(name = "")
    private String productfamily;

    /**  */
    @Excel(name = "")
    private String retail;

    /**  */
    @Excel(name = "")
    private String setpartsflag;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ts;

    /**  */
    @Excel(name = "")
    private String unitvolume;

    /**  */
    @Excel(name = "")
    private String unitweight;

    /**  */
    @Excel(name = "")
    private String version;

    /**  */
    @Excel(name = "")
    private String csaleorgid;

    /**  */
    @Excel(name = "")
    private String cinventoryid;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date caccountperiod;

    /**  */
    @Excel(name = "")
    private BigDecimal nprice;

    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setCreationtime(Date creationtime)
    {
        this.creationtime = creationtime;
    }

    public Date getCreationtime()
    {
        return creationtime;
    }
    public void setCreator(String creator)
    {
        this.creator = creator;
    }

    public String getCreator()
    {
        return creator;
    }
    public void setDataoriginflag(String dataoriginflag)
    {
        this.dataoriginflag = dataoriginflag;
    }

    public String getDataoriginflag()
    {
        return dataoriginflag;
    }
    public void setDiscountflag(String discountflag)
    {
        this.discountflag = discountflag;
    }

    public String getDiscountflag()
    {
        return discountflag;
    }
    public void setDr(String dr)
    {
        this.dr = dr;
    }

    public String getDr()
    {
        return dr;
    }
    public void setElectronicsale(String electronicsale)
    {
        this.electronicsale = electronicsale;
    }

    public String getElectronicsale()
    {
        return electronicsale;
    }
    public void setEnablestate(String enablestate)
    {
        this.enablestate = enablestate;
    }

    public String getEnablestate()
    {
        return enablestate;
    }
    public void setFee(String fee)
    {
        this.fee = fee;
    }

    public String getFee()
    {
        return fee;
    }
    public void setIntolerance(String intolerance)
    {
        this.intolerance = intolerance;
    }

    public String getIntolerance()
    {
        return intolerance;
    }
    public void setIselectrans(String iselectrans)
    {
        this.iselectrans = iselectrans;
    }

    public String getIselectrans()
    {
        return iselectrans;
    }
    public void setIsfeature(String isfeature)
    {
        this.isfeature = isfeature;
    }

    public String getIsfeature()
    {
        return isfeature;
    }
    public void setIshproitems(String ishproitems)
    {
        this.ishproitems = ishproitems;
    }

    public String getIshproitems()
    {
        return ishproitems;
    }
    public void setMaterialmnecode(String materialmnecode)
    {
        this.materialmnecode = materialmnecode;
    }

    public String getMaterialmnecode()
    {
        return materialmnecode;
    }
    public void setMaterialspec(String materialspec)
    {
        this.materialspec = materialspec;
    }

    public String getMaterialspec()
    {
        return materialspec;
    }
    public void setModifiedtime(Date modifiedtime)
    {
        this.modifiedtime = modifiedtime;
    }

    public Date getModifiedtime()
    {
        return modifiedtime;
    }
    public void setModifier(String modifier)
    {
        this.modifier = modifier;
    }

    public String getModifier()
    {
        return modifier;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setOutcloselowerlimit(String outcloselowerlimit)
    {
        this.outcloselowerlimit = outcloselowerlimit;
    }

    public String getOutcloselowerlimit()
    {
        return outcloselowerlimit;
    }
    public void setOuttolerance(String outtolerance)
    {
        this.outtolerance = outtolerance;
    }

    public String getOuttolerance()
    {
        return outtolerance;
    }
    public void setPkGroup(String pkGroup)
    {
        this.pkGroup = pkGroup;
    }

    public String getPkGroup()
    {
        return pkGroup;
    }
    public void setPkMarbasclass(String pkMarbasclass)
    {
        this.pkMarbasclass = pkMarbasclass;
    }

    public String getPkMarbasclass()
    {
        return pkMarbasclass;
    }
    public void setPkMaterial(String pkMaterial)
    {
        this.pkMaterial = pkMaterial;
    }

    public String getPkMaterial()
    {
        return pkMaterial;
    }
    public void setPkMattaxes(String pkMattaxes)
    {
        this.pkMattaxes = pkMattaxes;
    }

    public String getPkMattaxes()
    {
        return pkMattaxes;
    }
    public void setPkMeasdoc(String pkMeasdoc)
    {
        this.pkMeasdoc = pkMeasdoc;
    }

    public String getPkMeasdoc()
    {
        return pkMeasdoc;
    }
    public void setPkOrg(String pkOrg)
    {
        this.pkOrg = pkOrg;
    }

    public String getPkOrg()
    {
        return pkOrg;
    }
    public void setPkSource(String pkSource)
    {
        this.pkSource = pkSource;
    }

    public String getPkSource()
    {
        return pkSource;
    }
    public void setProductfamily(String productfamily)
    {
        this.productfamily = productfamily;
    }

    public String getProductfamily()
    {
        return productfamily;
    }
    public void setRetail(String retail)
    {
        this.retail = retail;
    }

    public String getRetail()
    {
        return retail;
    }
    public void setSetpartsflag(String setpartsflag)
    {
        this.setpartsflag = setpartsflag;
    }

    public String getSetpartsflag()
    {
        return setpartsflag;
    }
    public void setTs(Date ts)
    {
        this.ts = ts;
    }

    public Date getTs()
    {
        return ts;
    }
    public void setUnitvolume(String unitvolume)
    {
        this.unitvolume = unitvolume;
    }

    public String getUnitvolume()
    {
        return unitvolume;
    }
    public void setUnitweight(String unitweight)
    {
        this.unitweight = unitweight;
    }

    public String getUnitweight()
    {
        return unitweight;
    }
    public void setVersion(String version)
    {
        this.version = version;
    }

    public String getVersion()
    {
        return version;
    }
    public void setCsaleorgid(String csaleorgid)
    {
        this.csaleorgid = csaleorgid;
    }

    public String getCsaleorgid()
    {
        return csaleorgid;
    }
    public void setCinventoryid(String cinventoryid)
    {
        this.cinventoryid = cinventoryid;
    }

    public String getCinventoryid()
    {
        return cinventoryid;
    }
    public void setCaccountperiod(Date caccountperiod)
    {
        this.caccountperiod = caccountperiod;
    }

    public Date getCaccountperiod()
    {
        return caccountperiod;
    }
    public void setNprice(BigDecimal nprice)
    {
        this.nprice = nprice;
    }

    public BigDecimal getNprice()
    {
        return nprice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("code", getCode())
                .append("creationtime", getCreationtime())
                .append("creator", getCreator())
                .append("dataoriginflag", getDataoriginflag())
                .append("discountflag", getDiscountflag())
                .append("dr", getDr())
                .append("electronicsale", getElectronicsale())
                .append("enablestate", getEnablestate())
                .append("fee", getFee())
                .append("intolerance", getIntolerance())
                .append("iselectrans", getIselectrans())
                .append("isfeature", getIsfeature())
                .append("ishproitems", getIshproitems())
                .append("materialmnecode", getMaterialmnecode())
                .append("materialspec", getMaterialspec())
                .append("modifiedtime", getModifiedtime())
                .append("modifier", getModifier())
                .append("name", getName())
                .append("outcloselowerlimit", getOutcloselowerlimit())
                .append("outtolerance", getOuttolerance())
                .append("pkGroup", getPkGroup())
                .append("pkMarbasclass", getPkMarbasclass())
                .append("pkMaterial", getPkMaterial())
                .append("pkMattaxes", getPkMattaxes())
                .append("pkMeasdoc", getPkMeasdoc())
                .append("pkOrg", getPkOrg())
                .append("pkSource", getPkSource())
                .append("productfamily", getProductfamily())
                .append("retail", getRetail())
                .append("setpartsflag", getSetpartsflag())
                .append("ts", getTs())
                .append("unitvolume", getUnitvolume())
                .append("unitweight", getUnitweight())
                .append("version", getVersion())
                .append("csaleorgid", getCsaleorgid())
                .append("cinventoryid", getCinventoryid())
                .append("caccountperiod", getCaccountperiod())
                .append("nprice", getNprice())
                .toString();
    }
}